package com.etone.smartAudit.vo.item;

import com.etone.smartAudit.enums.ItemSourceType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: 蒋学伟
 * @create: 2020-07-16 11:33:29
 * @Description ItemSourceVO
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@ApiModel(value = "项目资源使用情况")
public class ItemSourceUsedVO implements Serializable {

    @ApiModelProperty("项目id")
    private Integer itemId;

    @ApiModelProperty("资源id")
    private Integer itemSourceId;

    @ApiModelProperty("资源名称")
    private String itemSourceName;

    @ApiModelProperty("资源类型")
    private ItemSourceType itemSourceType;

    @ApiModelProperty("总空间")
    private Double space;

    @ApiModelProperty("已使用空间")
    private Double spaceUsed;

    @ApiModelProperty("服务器id")
    private Integer serverId;

    @ApiModelProperty("服务器名称")
    private String serverName;

    @ApiModelProperty("服务器IP")
    private String serverIp;

    @ApiModelProperty("扩容数量")
    private Integer cnt;

    @ApiModelProperty("到期时间")
    private Date expireTime;
}
